<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>QCNSim: QcnSim/Node.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QCNSim
   </div>
   <div id="projectbrief">Simulator for Quake-Catcher Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d21be12960473ba5c51e5f9beea3525e.html">QcnSim</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Node.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_node_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_entity_8h.html">Entity.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_token_8h.html">Token.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_protocol_data_unit_8h.html">ProtocolDataUnit.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_node_return_type_8h.html">NodeReturnType.h</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_node.html">   51</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_node.html">Node</a>: <span class="keyword">public</span> <a class="code" href="class_entity.html">Entity</a>, <span class="keyword">public</span> std::enable_shared_from_this&lt;Node&gt; {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_node.html#af48f6ec6fd6ea43523f139c5d5ff3cdd">   53</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#af48f6ec6fd6ea43523f139c5d5ff3cdd">receivedBytesCount</a>; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_node.html#a15b31ec3be471e9e046f48517e2963aa">   54</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a15b31ec3be471e9e046f48517e2963aa">receivedPdusOrTokensCount</a>; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_node.html#a0fb081dd5928c91756f9faf672dafb35">   55</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a0fb081dd5928c91756f9faf672dafb35">forwardedPdusOrTokensCount</a>; </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_node.html#a3423410395300339105d6148290148cc">   56</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a3423410395300339105d6148290148cc">forwardedBytesCount</a>; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_node.html#a6a54b09eb2ba1cc137ab23a4766c4960">   57</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a6a54b09eb2ba1cc137ab23a4766c4960">droppedPdusOrTokensCount</a>; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_node.html#a35475c10b6c54bc85c2ce15fb5ea042d">   58</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a35475c10b6c54bc85c2ce15fb5ea042d">lastDelay</a>; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_node.html#a579cc4fb0789a1de48fb56ae99d7385a">   59</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a579cc4fb0789a1de48fb56ae99d7385a">sumDelay</a>; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_node.html#ae133a5c3fc82ca150ff95a0ac0a5da86">   60</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#ae133a5c3fc82ca150ff95a0ac0a5da86">meanDelay</a>; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_node.html#aec183b66f5f92e8cae4f3a1269e1316c">   61</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#aec183b66f5f92e8cae4f3a1269e1316c">lastJitter</a>; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_node.html#a4a5f15b9aed15145bbe65b61a30cdc67">   62</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a4a5f15b9aed15145bbe65b61a30cdc67">sumJitter</a>; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_node.html#a35637af5cd80cfe72376d43f16b64f19">   63</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a35637af5cd80cfe72376d43f16b64f19">meanJitter</a>; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_node.html#a9e1c05e3d8fbb3e4348418a60e512591">   64</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a9e1c05e3d8fbb3e4348418a60e512591">previousDelay</a>; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_node.html#a14540911910efef23e01ec6ad881b843">   65</a></span>&#160;    <a class="code" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;<a class="code" href="class_node.html#a14540911910efef23e01ec6ad881b843">simulatorGlobals</a>;  </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_node.html#ac5b0a78b84737a4bf4adffbcbc0755ab">updateArrivalStatistics</a>(std::shared_ptr&lt;Token&gt; token);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_node.html#af7467aafc77bd9d430ca329e931ade5a">updateForwardingStatistics</a>(std::shared_ptr&lt;Token&gt; token);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_node.html#ac5b0a78b84737a4bf4adffbcbc0755ab">updateArrivalStatistics</a>(std::shared_ptr&lt;ProtocolDataUnit&gt; pdu);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_node.html#af7467aafc77bd9d430ca329e931ade5a">updateForwardingStatistics</a>(std::shared_ptr&lt;ProtocolDataUnit&gt; pdu);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="_node_return_type_8h.html#a653f4b3757de7a3613c60211493c60c1">NodeReturnType</a> <a class="code" href="class_node.html#ae9f5e321e4dfb45e444e007607867737">updateForwardHops</a>(std::shared_ptr&lt;Token&gt; token);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_node.html#aa433297c5f2e8f74c5a999e429eada60">Node</a>(<a class="code" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;<a class="code" href="class_node.html#a14540911910efef23e01ec6ad881b843">simulatorGlobals</a>);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a9a3aa1e2c2fff5cc94cb0abc36f07d31">getReceivedBytesCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a4b1e673f06404a5197429a352c2154b2">getReceivedPdusOrTokensCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a56b7b2497ac364efe0719ea219d98b9e">getForwardedPdusOrTokensCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a3dada83d831807c17f41b76395759c6e">getForwardedBytesCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_node.html#a31099ef50497ea806ea588c879ef22e1">getDroppedPdusOrTokensCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a20dfdbde07dfa9499ba12c66407ef696">getLastPduOrTokenDelay</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a6f36f9c793310fa1342479d3ee99afcf">getSumPduOrTokenDelay</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#aea1a8c07cd8b785dcd2d872392b9e630">getMeanPduOrTokenDelay</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a3f388ac2e7209056fbc0988419b1d667">getLastPduOrTokenJitter</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#a95ef71aa24da2ed22f1da017d27602ac">getSumPduOrTokenJitter</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_node.html#abe5523d6e76ecfec5bd09ca388ee5873">getMeanPduOrTokenJitter</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <a class="code" href="_node_return_type_8h.html#a653f4b3757de7a3613c60211493c60c1">NodeReturnType</a> <a class="code" href="class_node.html#a2cb2a58f1d3477a30e863e59b1dbc3e2">processAndForward</a>(std::shared_ptr&lt;Token&gt; token);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <a class="code" href="_node_return_type_8h.html#a653f4b3757de7a3613c60211493c60c1">NodeReturnType</a> <a class="code" href="class_node.html#a2cb2a58f1d3477a30e863e59b1dbc3e2">processAndForward</a>(std::shared_ptr&lt;ProtocolDataUnit&gt; pdu);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;};</div>
<div class="ttc" id="class_node_html_a9a3aa1e2c2fff5cc94cb0abc36f07d31"><div class="ttname"><a href="class_node.html#a9a3aa1e2c2fff5cc94cb0abc36f07d31">Node::getReceivedBytesCount</a></div><div class="ttdeci">unsigned int getReceivedBytesCount() const </div><div class="ttdoc">Get received bytes count. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00042">Node.cpp:42</a></div></div>
<div class="ttc" id="class_node_html_ae133a5c3fc82ca150ff95a0ac0a5da86"><div class="ttname"><a href="class_node.html#ae133a5c3fc82ca150ff95a0ac0a5da86">Node::meanDelay</a></div><div class="ttdeci">double meanDelay</div><div class="ttdoc">Mean delay as measured for all PDUs received by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00060">Node.h:60</a></div></div>
<div class="ttc" id="class_node_html"><div class="ttname"><a href="class_node.html">Node</a></div><div class="ttdoc">Node class. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00051">Node.h:51</a></div></div>
<div class="ttc" id="_node_return_type_8h_html_a653f4b3757de7a3613c60211493c60c1"><div class="ttname"><a href="_node_return_type_8h.html#a653f4b3757de7a3613c60211493c60c1">NodeReturnType</a></div><div class="ttdeci">NodeReturnType</div><div class="ttdoc">Node Return Type enum class. </div><div class="ttdef"><b>Definition:</b> <a href="_node_return_type_8h_source.html#l00028">NodeReturnType.h:28</a></div></div>
<div class="ttc" id="class_node_html_a9e1c05e3d8fbb3e4348418a60e512591"><div class="ttname"><a href="class_node.html#a9e1c05e3d8fbb3e4348418a60e512591">Node::previousDelay</a></div><div class="ttdeci">double previousDelay</div><div class="ttdoc">Delay measured for previous PDU (the PDU before the current received one) received by this node...</div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00064">Node.h:64</a></div></div>
<div class="ttc" id="class_node_html_a35637af5cd80cfe72376d43f16b64f19"><div class="ttname"><a href="class_node.html#a35637af5cd80cfe72376d43f16b64f19">Node::meanJitter</a></div><div class="ttdeci">double meanJitter</div><div class="ttdoc">Mean jitter as measured for all PDUs received by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00063">Node.h:63</a></div></div>
<div class="ttc" id="_entity_8h_html"><div class="ttname"><a href="_entity_8h.html">Entity.h</a></div></div>
<div class="ttc" id="class_node_html_af48f6ec6fd6ea43523f139c5d5ff3cdd"><div class="ttname"><a href="class_node.html#af48f6ec6fd6ea43523f139c5d5ff3cdd">Node::receivedBytesCount</a></div><div class="ttdeci">unsigned int receivedBytesCount</div><div class="ttdoc">Count of received bytes by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00053">Node.h:53</a></div></div>
<div class="ttc" id="class_node_html_a6f36f9c793310fa1342479d3ee99afcf"><div class="ttname"><a href="class_node.html#a6f36f9c793310fa1342479d3ee99afcf">Node::getSumPduOrTokenDelay</a></div><div class="ttdeci">double getSumPduOrTokenDelay() const </div><div class="ttdoc">Get Sum of all measured PDU delays. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00096">Node.cpp:96</a></div></div>
<div class="ttc" id="class_node_html_a15b31ec3be471e9e046f48517e2963aa"><div class="ttname"><a href="class_node.html#a15b31ec3be471e9e046f48517e2963aa">Node::receivedPdusOrTokensCount</a></div><div class="ttdeci">unsigned int receivedPdusOrTokensCount</div><div class="ttdoc">Count of received PDUs by this node (packets for network PDUs, for example). </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00054">Node.h:54</a></div></div>
<div class="ttc" id="class_node_html_a6a54b09eb2ba1cc137ab23a4766c4960"><div class="ttname"><a href="class_node.html#a6a54b09eb2ba1cc137ab23a4766c4960">Node::droppedPdusOrTokensCount</a></div><div class="ttdeci">unsigned int droppedPdusOrTokensCount</div><div class="ttdoc">Count of dropped PDUs by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00057">Node.h:57</a></div></div>
<div class="ttc" id="class_node_html_a3f388ac2e7209056fbc0988419b1d667"><div class="ttname"><a href="class_node.html#a3f388ac2e7209056fbc0988419b1d667">Node::getLastPduOrTokenJitter</a></div><div class="ttdeci">double getLastPduOrTokenJitter() const </div><div class="ttdoc">Get jitter (difference between delays) as measured between last two PDUs. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00114">Node.cpp:114</a></div></div>
<div class="ttc" id="class_node_html_a31099ef50497ea806ea588c879ef22e1"><div class="ttname"><a href="class_node.html#a31099ef50497ea806ea588c879ef22e1">Node::getDroppedPdusOrTokensCount</a></div><div class="ttdeci">unsigned int getDroppedPdusOrTokensCount() const </div><div class="ttdoc">Get dropped PDUs count. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00078">Node.cpp:78</a></div></div>
<div class="ttc" id="_node_return_type_8h_html"><div class="ttname"><a href="_node_return_type_8h.html">NodeReturnType.h</a></div></div>
<div class="ttc" id="class_node_html_aea1a8c07cd8b785dcd2d872392b9e630"><div class="ttname"><a href="class_node.html#aea1a8c07cd8b785dcd2d872392b9e630">Node::getMeanPduOrTokenDelay</a></div><div class="ttdeci">double getMeanPduOrTokenDelay() const </div><div class="ttdoc">Get mean of all measured PDU delays. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00105">Node.cpp:105</a></div></div>
<div class="ttc" id="class_node_html_a3423410395300339105d6148290148cc"><div class="ttname"><a href="class_node.html#a3423410395300339105d6148290148cc">Node::forwardedBytesCount</a></div><div class="ttdeci">unsigned int forwardedBytesCount</div><div class="ttdoc">Count of forwarded bytes from this node to next Entity. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00056">Node.h:56</a></div></div>
<div class="ttc" id="class_node_html_aec183b66f5f92e8cae4f3a1269e1316c"><div class="ttname"><a href="class_node.html#aec183b66f5f92e8cae4f3a1269e1316c">Node::lastJitter</a></div><div class="ttdeci">double lastJitter</div><div class="ttdoc">Jitter measured between the last two PDUs received by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00061">Node.h:61</a></div></div>
<div class="ttc" id="class_node_html_a20dfdbde07dfa9499ba12c66407ef696"><div class="ttname"><a href="class_node.html#a20dfdbde07dfa9499ba12c66407ef696">Node::getLastPduOrTokenDelay</a></div><div class="ttdeci">double getLastPduOrTokenDelay() const </div><div class="ttdoc">Get last PDU measured delay. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00087">Node.cpp:87</a></div></div>
<div class="ttc" id="class_node_html_abe5523d6e76ecfec5bd09ca388ee5873"><div class="ttname"><a href="class_node.html#abe5523d6e76ecfec5bd09ca388ee5873">Node::getMeanPduOrTokenJitter</a></div><div class="ttdeci">double getMeanPduOrTokenJitter() const </div><div class="ttdoc">Get Mean of all measured jitters (difference between delays). </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00132">Node.cpp:132</a></div></div>
<div class="ttc" id="class_entity_html"><div class="ttname"><a href="class_entity.html">Entity</a></div><div class="ttdoc">Entity class. </div><div class="ttdef"><b>Definition:</b> <a href="_entity_8h_source.html#l00029">Entity.h:29</a></div></div>
<div class="ttc" id="class_node_html_a4a5f15b9aed15145bbe65b61a30cdc67"><div class="ttname"><a href="class_node.html#a4a5f15b9aed15145bbe65b61a30cdc67">Node::sumJitter</a></div><div class="ttdeci">double sumJitter</div><div class="ttdoc">Sum of jitters measured for all PDUs received by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00062">Node.h:62</a></div></div>
<div class="ttc" id="class_node_html_aa433297c5f2e8f74c5a999e429eada60"><div class="ttname"><a href="class_node.html#aa433297c5f2e8f74c5a999e429eada60">Node::Node</a></div><div class="ttdeci">Node(SimulatorGlobals &amp;simulatorGlobals)</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00030">Node.cpp:30</a></div></div>
<div class="ttc" id="class_node_html_a4b1e673f06404a5197429a352c2154b2"><div class="ttname"><a href="class_node.html#a4b1e673f06404a5197429a352c2154b2">Node::getReceivedPdusOrTokensCount</a></div><div class="ttdeci">unsigned int getReceivedPdusOrTokensCount() const </div><div class="ttdoc">Get received PDUs count. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00051">Node.cpp:51</a></div></div>
<div class="ttc" id="class_node_html_a0fb081dd5928c91756f9faf672dafb35"><div class="ttname"><a href="class_node.html#a0fb081dd5928c91756f9faf672dafb35">Node::forwardedPdusOrTokensCount</a></div><div class="ttdeci">unsigned int forwardedPdusOrTokensCount</div><div class="ttdoc">Count of forwarded PDUs from this node to next Entity. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00055">Node.h:55</a></div></div>
<div class="ttc" id="class_node_html_ac5b0a78b84737a4bf4adffbcbc0755ab"><div class="ttname"><a href="class_node.html#ac5b0a78b84737a4bf4adffbcbc0755ab">Node::updateArrivalStatistics</a></div><div class="ttdeci">void updateArrivalStatistics(std::shared_ptr&lt; Token &gt; token)</div><div class="ttdoc">Update Node statistics upon arrival of token. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00236">Node.cpp:236</a></div></div>
<div class="ttc" id="class_node_html_a579cc4fb0789a1de48fb56ae99d7385a"><div class="ttname"><a href="class_node.html#a579cc4fb0789a1de48fb56ae99d7385a">Node::sumDelay</a></div><div class="ttdeci">double sumDelay</div><div class="ttdoc">Sum of delays measured for all PDUs received by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00059">Node.h:59</a></div></div>
<div class="ttc" id="class_node_html_a14540911910efef23e01ec6ad881b843"><div class="ttname"><a href="class_node.html#a14540911910efef23e01ec6ad881b843">Node::simulatorGlobals</a></div><div class="ttdeci">SimulatorGlobals &amp; simulatorGlobals</div><div class="ttdoc">Reference to SimulatorGlobals object, to get clock time. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00065">Node.h:65</a></div></div>
<div class="ttc" id="class_node_html_af7467aafc77bd9d430ca329e931ade5a"><div class="ttname"><a href="class_node.html#af7467aafc77bd9d430ca329e931ade5a">Node::updateForwardingStatistics</a></div><div class="ttdeci">void updateForwardingStatistics(std::shared_ptr&lt; Token &gt; token)</div><div class="ttdoc">Update Node statistics upon forwarding of token. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00258">Node.cpp:258</a></div></div>
<div class="ttc" id="class_simulator_globals_html"><div class="ttname"><a href="class_simulator_globals.html">SimulatorGlobals</a></div><div class="ttdoc">Simulator-scope variables and parameters. </div><div class="ttdef"><b>Definition:</b> <a href="_simulator_globals_8h_source.html#l00158">SimulatorGlobals.h:158</a></div></div>
<div class="ttc" id="_protocol_data_unit_8h_html"><div class="ttname"><a href="_protocol_data_unit_8h.html">ProtocolDataUnit.h</a></div></div>
<div class="ttc" id="class_node_html_a95ef71aa24da2ed22f1da017d27602ac"><div class="ttname"><a href="class_node.html#a95ef71aa24da2ed22f1da017d27602ac">Node::getSumPduOrTokenJitter</a></div><div class="ttdeci">double getSumPduOrTokenJitter() const </div><div class="ttdoc">Get sum of all measured jitters (difference between delays). </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00123">Node.cpp:123</a></div></div>
<div class="ttc" id="class_node_html_a3dada83d831807c17f41b76395759c6e"><div class="ttname"><a href="class_node.html#a3dada83d831807c17f41b76395759c6e">Node::getForwardedBytesCount</a></div><div class="ttdeci">unsigned int getForwardedBytesCount() const </div><div class="ttdoc">Get forwarded PDUs count. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00069">Node.cpp:69</a></div></div>
<div class="ttc" id="class_node_html_a56b7b2497ac364efe0719ea219d98b9e"><div class="ttname"><a href="class_node.html#a56b7b2497ac364efe0719ea219d98b9e">Node::getForwardedPdusOrTokensCount</a></div><div class="ttdeci">unsigned int getForwardedPdusOrTokensCount() const </div><div class="ttdoc">Get forwarded PDUs count. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00060">Node.cpp:60</a></div></div>
<div class="ttc" id="class_node_html_a2cb2a58f1d3477a30e863e59b1dbc3e2"><div class="ttname"><a href="class_node.html#a2cb2a58f1d3477a30e863e59b1dbc3e2">Node::processAndForward</a></div><div class="ttdeci">NodeReturnType processAndForward(std::shared_ptr&lt; Token &gt; token)</div><div class="ttdoc">Process the token by updating statistics and other procedures. Then, &amp;quot;forward&amp;quot; the token by changing ...</div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00149">Node.cpp:149</a></div></div>
<div class="ttc" id="class_node_html_ae9f5e321e4dfb45e444e007607867737"><div class="ttname"><a href="class_node.html#ae9f5e321e4dfb45e444e007607867737">Node::updateForwardHops</a></div><div class="ttdeci">NodeReturnType updateForwardHops(std::shared_ptr&lt; Token &gt; token)</div><div class="ttdoc">Update token&amp;#39;s or PDU&amp;#39;s hop fields to prepare it for forwarding, according to explicit route attached...</div><div class="ttdef"><b>Definition:</b> <a href="_node_8cpp_source.html#l00311">Node.cpp:311</a></div></div>
<div class="ttc" id="_token_8h_html"><div class="ttname"><a href="_token_8h.html">Token.h</a></div></div>
<div class="ttc" id="class_node_html_a35475c10b6c54bc85c2ce15fb5ea042d"><div class="ttname"><a href="class_node.html#a35475c10b6c54bc85c2ce15fb5ea042d">Node::lastDelay</a></div><div class="ttdeci">double lastDelay</div><div class="ttdoc">Delay measured for last PDU received by this node. </div><div class="ttdef"><b>Definition:</b> <a href="_node_8h_source.html#l00058">Node.h:58</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 6 2014 12:30:37 for QCNSim by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
